package top.jolyoulu.codegenweb.entity.bo.form;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import java.util.List;

/**
 * @Author: JolyouLu
 * @Date: 2023/4/9 20:17
 * @Description
 */
@Data
public class MysqlGenCodeFormBO {

    /**
     * 数据源id
     */
    @NotBlank(message = "dataSourceId不能为空")
    private String dataSourceId;

    /**
     * 构建的文件面
     */
    @NotEmpty(message = "tableNames不能为空")
    private List<String> tableNames;

    /**
     * 构建的模板id
     */
    @NotEmpty(message = "templateFileIds不能为空")
    private List<String> templateFileIds;

}
